package com.joysuch.wwyt.alert;

import com.joysuch.wwyt.alert.trigger.LocateDataTrigger;
import com.joysuch.wwyt.alert.trigger.ProcessNoticeWaitingListTrigger;

public class AlertScheduler {

    public void init() {
        ProcessNoticeWaitingListTrigger.getInstance().start();
        LocateDataTrigger.getInstance().start();
    }

    public void destroy() {
        ProcessNoticeWaitingListTrigger.getInstance().toStop();
        LocateDataTrigger.getInstance().toStop();
    }

}
